### -*- coding: utf-8 -*- #############################################
# Разработано компанией Ключевые Решения (http://keysolutions.ru/) 
# Все права защищены, 2006-2007                                    
#
# Developed by Key Solutions (http://keysolutions.ru/)                             
# All right reserved, 2006-2007                                    
#######################################################################
# Licensed under the Zope Public License, Version 2.1 (the "License"); you
# may not use this file except in compliance with the License. A copy of the
# License should accompany this distribution.
#
# This software distributed under the License is distributed on an "AS IS"
# BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
# implied.
#######################################################################
"""Interfaces for the Zope 3 based <> package

$Id: interfaces.py 2 2007-03-13 19:38:04Z mkashkin $
"""
__author__  = ""
__version__ = "$Revision: 2 $"
__date__ = "$Date: 2007-03-13 19:38:04 +0000 (Tue, 13 Mar 2007) $"
 
from zope.interface import Interface

from zope.schema import Text, TextLine, Field, Bool, Datetime
from zope.app.container.interfaces import IContained, IContainer
from zope.app.container.constraints import ItemTypePrecondition
from zope.app.container.constraints import ContainerTypesConstraint
                
class IDemo(Interface) :

    #title=TextLine(title=u"Title")
    
    dsn_for_ps=TextLine(title=u'DSN for DA', default=u"dbi://morthan:12345@localhost/principalsource")
    
    #body=Text(title=u"Body")
    
    back_email=TextLine(title=u'Your e-mail', default=u'someone@somewhere.com')
